package com.cjr.sentinel.feign;


import com.cjr.sentinel.service.FallbackServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "sentinel-provider",fallback = FallbackServiceImpl.class)
@Component
public interface ProviderFeign {
    @RequestMapping("/provider")
    String pro();
}
